sysroot: Prep refactoring of cleanup logic
authorColin Walters <walters@verbum.org>
Mon, 20 Mar 2017 14:35:40 +0000 (10:35 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 20 Mar 2017 20:16:12 +0000 (20:16 +0000)
commit5d413dff882efe1ee4faa6e4642d5b04598c01b8
treeeec316a2803742240319df1b47f91a259f5976f8
parentec2f52e62532017a79d70ce6ea2870d010a22b99
sysroot: Prep refactoring of cleanup logic

For future work I'm going to tweak how we handle cleanup, and
the private cleanup flags didn't really end up being used - we
only specify "prune repo or not".  So fold that into a boolean for now.

The sysroot deploy logic then has a single "do_postclean" boolean, which is all
I want to expose as public API.

Closes: #744
Approved by: jlebon
src/libostree/ostree-sysroot-cleanup.c
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h
src/libostree/ostree-sysroot.c